package com.ckzp.core.validate;

import cn.hutool.core.util.StrUtil;

/**
 * Created by 51594 on 2023/9/25.
 */
public class FileValidate {

    /**
     * 处理非法路经
     *
     * @param path
     * @return
     */
    public static String validatePath(String path) {
        //path = StrUtil.replace(path, ".", "");
        path = StrUtil.replace(path, "\\", "/");
        return path;
    }
}
